package com.glsc.ngateway.platform.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GlscSystemAccountDto implements Serializable {

    private static final long serialVersionUID = -8270782528555155255L;
    private Integer id;

    private Integer systemId;

    @ApiModelProperty(value = "账号")
    private String glscAccount;

    @ApiModelProperty(value = "账号类型")
    @Column(name = "account_type", columnDefinition = "varchar(60) COMMENT '账号类型,数据字典t_system_res_account_type'")
    private String accountType;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "资源持有人oa账号")
    private String userOaAccount;


    private Integer pageNo;
    private Integer pageSize;

    @ApiModelProperty(value = "数据来源类型 1系统 2组件")
    private String sourceType;
}
